﻿using D.Medicalcare.ErrorCode;
using MediatR;

namespace D.Medicalcare.Write.API.Application.Commands.UserCommand
{
    public class CreateUserCommand:IRequest<APIResult<object>>
    {
        public int UserId { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Pass { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 微信昵称
        /// </summary>
        public string WeChatName { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 创建人编号
        /// </summary>
        public int CreateUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public int UpdateUserId { get; set; }
        /// <summary>
        /// 修改人时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        public int DeletedUserId { get; set; }
        /// <summary>
        /// 删除人时间
        /// </summary>
        public DateTime DeletedTime { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
